package com.blue.prepose.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

/**
 * 支付表(PaymentPay)实体类
 *
 * @author xiaoyiming
 * @since 2020-05-08 23:29:13
 */
public class PaymentPay implements Serializable {
    private static final long serialVersionUID = 173204644401228001L;
    /**
    * 主键ID,对应三方订单号
    */
    private Long id;
    /**
    * 业务标识
    */
    private Integer businessId;
    /**
    * 支付配置,对应三方商户配置
    */
    private Long payConfigId;
    /**
    * 业务订单号
    */
    private Long orderId;
    /**
    * 唯一ID,幂等ID
    */
    private Long uniqueId;
    /**
    * 用户ID
    */
    private Long userId;
    /**
    * 支付类型 1.支付宝 2.微信
    */
    private Integer payType;
    /**
    * 支付渠道
    */
    private Integer payChannel;
    /**
    * 支付金额
    */
    private BigDecimal amount;
    /**
    * 状态 1.待支付 2.已支付 3.已回调 4.已关闭 
    */
    private Integer status;
    /**
    * 支付主题
    */
    private String subject;
    /**
    * 支付跳转返回url
    */
    private String returnUrl;
    /**
    * 支付通知url
    */
    private String notifyUrl;
    /**
    * 支付通知消息主题号
    */
    private String notifyMq;
    /**
    * 支付手续费
    */
    private BigDecimal payFee;
    /**
    * 三方交易流水号
    */
    private String tradeNo;
    /**
    * 买家在第三方支付公司的唯一标识
    */
    private String buyerId;
    /**
    * 三方返回数据
    */
    private String returnMessage;
    /**
    * 扩展参数
    */
    private String extendParam;
    /**
    * 第三方与支付时订单超时时间,默认15分钟,单位:分钟
    */
    private Integer expireTime;
    /**
    * 支付时间
    */
    private Date payTime;
    /**
    * 创建时间
    */
    private Date createTime;
    /**
    * 更新时间
    */
    private Date updateTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getBusinessId() {
        return businessId;
    }

    public void setBusinessId(Integer businessId) {
        this.businessId = businessId;
    }

    public Long getPayConfigId() {
        return payConfigId;
    }

    public void setPayConfigId(Long payConfigId) {
        this.payConfigId = payConfigId;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getUniqueId() {
        return uniqueId;
    }

    public void setUniqueId(Long uniqueId) {
        this.uniqueId = uniqueId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public Integer getPayChannel() {
        return payChannel;
    }

    public void setPayChannel(Integer payChannel) {
        this.payChannel = payChannel;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getReturnUrl() {
        return returnUrl;
    }

    public void setReturnUrl(String returnUrl) {
        this.returnUrl = returnUrl;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }

    public String getNotifyMq() {
        return notifyMq;
    }

    public void setNotifyMq(String notifyMq) {
        this.notifyMq = notifyMq;
    }

    public BigDecimal getPayFee() {
        return payFee;
    }

    public void setPayFee(BigDecimal payFee) {
        this.payFee = payFee;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }

    public String getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(String buyerId) {
        this.buyerId = buyerId;
    }

    public String getReturnMessage() {
        return returnMessage;
    }

    public void setReturnMessage(String returnMessage) {
        this.returnMessage = returnMessage;
    }

    public String getExtendParam() {
        return extendParam;
    }

    public void setExtendParam(String extendParam) {
        this.extendParam = extendParam;
    }

    public Integer getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Integer expireTime) {
        this.expireTime = expireTime;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}